﻿using Microsoft.VisualStudio.DesignTools.Extensibility.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;

namespace AugustVisual.DesignTools
{
    public class AugustDataViewInitializer : DefaultInitializer
    {
        public override void InitializeDefaults(ModelItem item)
        {
            //item.Properties["Name"].SetValue("button1");
            item.Properties["Width"].SetValue(300);
            item.Properties["Height"].SetValue(300);
            item.Properties["HorizontalAlignment"].SetValue(HorizontalAlignment.Left);
            item.Properties["VerticalAlignment"].SetValue(VerticalAlignment.Top);
            //item.Properties["Content"].SetValue("Custom Button");
            // item.Properties["FontFamily"].SetValue(new FontFamily("Arial"));
            //item.Properties["Margin"].SetValue(new Thickness(100, 20, 30, 40));
            //item.Properties["Background"].SetValue(new LinearGradientBrush(Colors.White, Colors.Black, 45));
            // item.Properties["RenderTransform"].SetValue(new RotateTransform(45));
        }
    }
}
